package by.bsu.scs.model;

// Generated 05.03.2011 11:02:05 by Hibernate Tools 3.4.0.CR1

import java.util.HashSet;
import java.util.Set;

/**
 * 			This class contains Group details.
 * 		
 */
public class Group implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	private int groupId;
	private Course courseId;
	private int groupNumber;
	private Specialization specialization;
	private Set <StudentGroup> studentGroup = new HashSet <StudentGroup> (0);

	public Group() {
	}
	
	public Group(Course courseId, int groupNumber) {
		super();
		this.courseId = courseId;
		this.groupNumber = groupNumber;
	}

	public Group(Course courseId, int groupNumber, Specialization specialization) {
		super();
		this.courseId = courseId;
		this.groupNumber = groupNumber;
		this.specialization = specialization;
	}

	public Group(int groupId, Course courseId, int groupNumber,
			Specialization specialization) {
		this.groupId = groupId;
		this.courseId = courseId;
		this.groupNumber = groupNumber;
		this.specialization = specialization;
	}

	public Group(int groupId, Course courseId, int groupNumber,
			Specialization specialization, Set <StudentGroup> studentGroup) {
		this.groupId = groupId;
		this.courseId = courseId;
		this.groupNumber = groupNumber;
		this.specialization = specialization;
		this.studentGroup = studentGroup;
	}

	public int getGroupId() {
		return this.groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public Course getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Course courseId) {
		this.courseId = courseId;
	}

	public int getGroupNumber() {
		return this.groupNumber;
	}

	public void setGroupNumber(int groupNumber) {
		this.groupNumber = groupNumber;
	}

	public Specialization getSpecialization() {
		return this.specialization;
	}

	public void setSpecialization(Specialization specialization) {
		this.specialization = specialization;
	}

	public Set <StudentGroup> getStudentGroup() {
		return this.studentGroup;
	}

	public void setStudentGroup(Set <StudentGroup> studentGroup) {
		this.studentGroup = studentGroup;
	}

}
